maven中使用tomcat进行热部署 在<plugins>中加入热部署标签 在tomcat/conf/server-user.xml中添加用户和角色 然后再eclipse中有单击项目run as ...